home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
basepc.arc
/
PW.BAS
< prev
Wrap
BASIC Source File
|
1985-10-09
|
580b
|
22 lines
1 REM PW.BAS
10 PRINT "WAITING FOR INCOMING CALL . . . ": PRINT
20 PRINT "Do NOT disconnect or turn off modem!": PRINT
40 ON ERROR GOTO 210
50 OPEN "com1:1200,n,8,1" AS #1
60 PRINT #1,"AT S0=1 E0 Q1"
70 INPUT #1,JUNK$
80 PRINT #1,CHR$(13);CHR$(13)
90 PRINT #1,"Hello . . . ?"
100 INPUT #1,R$
110 FOR I=1 TO 3
120 PRINT #1,"Password?"
130 PRINT #1,CHR$(10)
140 INPUT #1,R$
150 PRINT R$
160 IF R$<>"jones" THEN 190
170 PRINT #1,"OK, one moment, please."
180 OPEN "OKAY" FOR OUTPUT AS #2:PRINT #2,"*":CLOSE #2:SYSTEM
190 NEXT I
200 SYSTEM
210 CLOSE #1: GOTO 50